package com.ylb.rent.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.*;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Builder
@TableName("t_order")
public class Order implements Serializable {
  private static final long serialVersionUID = 1L;

  @TableId(type = IdType.NONE)
  private long id;
  private long userId;
  private String orderNo;
  private double totalAmount;
  private double paymentAmount;
  private java.sql.Timestamp paymentTime;
  private long status;

  @TableField(fill = FieldFill.INSERT)
  private java.sql.Timestamp createTime;
  @TableField(fill = FieldFill.INSERT)
  private java.sql.Timestamp updateTime;
  private java.sql.Date fromDate;
  private java.sql.Timestamp toDate;




}
